<!DOCTYPE html>
<html>    
    <head>
        <title>Share-在线API文档</title>
        <link href="/style/github-bf51422f4bb36427d391e4b75a1daa083c2d840e.css" media="all" rel="stylesheet" type="text/css"/>
        <link href="/style/github2-d731afd4f624c99a4b19ad69f3083cd6d02b81d5.css" media="all" rel="stylesheet" type="text/css"/>
        <link href="/css/zTreeStyle/zTreeStyle.css" media="all" rel="stylesheet" type="text/css"/>
        <style>
            pre {
                counter-reset: line-numbering;
                border: solid 1px #d9d9d9;
                border-radius: 0;
                background: #fff;
                padding: 0;
                line-height: 23px;
                margin-bottom: 30px;
                white-space: pre;
                overflow-x: auto;
                word-break: inherit;
                word-wrap: inherit;
            }

            pre a::before {
                content: counter(line-numbering);
                counter-increment: line-numbering;
                padding-right: 1em; /* space after numbers */
                width: 25px;
                text-align: right;
                opacity: 0.7;
                display: inline-block;
                color: #aaa;
                background: #eee;
                margin-right: 16px;
                padding: 2px 10px;
                font-size: 13px;
                -webkit-touch-callout: none;
                -webkit-user-select: none;
                -khtml-user-select: none;
                -moz-user-select: none;
                -ms-user-select: none;
                user-select: none;
            }

            pre a:first-of-type::before {
                padding-top: 10px;
            }

            pre a:last-of-type::before {
                padding-bottom: 10px;
            }

            pre a:only-of-type::before {
                padding: 10px;
            }

            .highlight { background-color: #ffffcc } /* RIGHT */
        </style>
        
        <script>
            function syntaxHighlight(json) {
                json = json.replace(/&/g, '&amp;').replace(/</g, '&lt;').replace(/>/g, '&gt;');
                return json.replace(/("(\\u[a-zA-Z0-9]{4}|\\[^u]|[^\\"])*"(\s*:)?|\b(true|false|null)\b|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?)/g, function (match) {
                    var cls = 'number';
                    if (/^"/.test(match)) {
                        if (/:$/.test(match)) {
                            cls = 'key';
                        } else {
                            cls = 'string';
                        }
                    } else if (/true|false/.test(match)) {
                        cls = 'boolean';
                    } else if (/null/.test(match)) {
                        cls = 'null';
                    }
                    return '<span class="' + cls + '">' + match + '</span>';
                });
            }
        </script>
    </head>
    <body>
        <div>
            <div style='width:25%;'>
                <ul id="tree" class="ztree" style='width:100%'>
                </ul>
            </div>

            <div id='readme' style='width:70%;margin-left:20%;'>
                <article class='markdown-body'>
                    <h1 id="-">Share-在线API文档</h1>
                    <h2 id="-">项目介绍</h2>
                    <pre><blockquote>information</blockquote></pre>
                    <h2 id="-">基础说明</h2>
                    <h3 id="-">Host说明</h3>
                    <pre><blockquote>测试HOST:   </blockquote><blockquote>线上HOST:   </blockquote></pre>
                    <h3 id="-">数据格式</h3>
                    <pre><blockquote>以json格式返回结果</blockquote></pre>
                    
                    <h2 id="-">接口说明</h2>
                    @foreach($routeList as $key=>$returnJsons)
                    <h3 id="-">{{$returnJsons['decrible']}}</h3>
                    <p id="-">请求地址:{{$key}}</p>
                    <p>请求方式:GET</p>
                    
                    <p id="-">响应:</p>
                    @foreach($returnJsons as $k=>$ret)
                    @if($k !== 'decrible')
                        <p id="-">{{$k}}:</p>
                        <pre><code class="lang-json"><script type="text/javascript" > 
                            var str = '{{$ret}}';
                            str = str.replace(/&quot;/g,'"');
                            var obj = JSON.parse(str);
                            str = JSON.stringify(obj, undefined, 4);
                            document.write(syntaxHighlight(str)); 
                        </script></code></pre>
                    @endif
                    @endforeach
                    @endforeach
                    
                    <!--<h2 id="-">在此留言</h2>-->
                </article>

            </div>

        </div>
    </body>
</html>
<script type="text/javascript" src="/js/jquery-1.4.4.min.js"></script>
<script type="text/javascript" src="/js/jquery.ztree.all-3.5.min.js"></script>
<script type="text/javascript" src="/js/ztree_toc.js"></script>
<script type="text/javascript" src="/js/toc_conf.js"></script>

<SCRIPT type="text/javascript" >
    $(document).ready(function () {
        var css_conf = eval(markdown_panel_style);
        $('#readme').css(css_conf)

        var conf = eval(jquery_ztree_toc_opts);
        $('#tree').ztree_toc(conf);
    });
    
    

    
    
</SCRIPT>